<?php
/**
 * Created by PhpStorm.
 * User: eric
 * Date: 2016/9/28
 * Time: 14:56
 */

namespace App\Http\Repositories\Daos\User;

use App\Http\Repositories\Daos\BaseDao;
use App\Models\UserAddress;

class UserAddressDao extends BaseDao
{

    public function __construct(UserAddress $model)
    {
        parent::__construct($model);
    }

    public function implodeAddress($model)
    {
        return $model->name . '@' . $model->mobile . '@' . $model->address . '@' . $model->detail;
    }

}
